/*
 * @Descripttion:
 * @version:
 * @Author: sueRimn
 * @Date: 2020-10-30 15:29:40
 * @LastEditors: sueRimn
 * @LastEditTime: 2020-11-17 10:41:21
 */
// const base = require('../../../env/index')
const URL = require('../router/trembleSchool')
import request from '@/utils/request'
import { addK_Token, checkHasID } from '../utils/index'

// 文章分类
export function get_ArticleType(data) {
    return request({
        url: '/admin_question_url' + checkHasID(URL.GET_ARTILE_TYPE, data),
        method: 'POST',
        headers: {},
        data: addK_Token(data)
    })
}

// 文章列表
export function get_ArticleList(data) {
    return request({
        url: '/admin_question_url' + checkHasID(URL.GET_ARTILE_LIST, data),
        method: 'POST',
        headers: {},
        data: addK_Token(data)
    })
}

// 文章列表
export function check_Article(data) {
    return request({
        url: '/admin_question_url' + checkHasID(URL.CHECK_ARTILE, data),
        method: 'POST',
        headers: {},
        data: addK_Token(data)
    })
}
